<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <!-- 画布 -->
  <canvas id="canvas" width="600" height="400" style="border:1px solid blue;"></canvas>
  <script>
    // 手指刮刮乐 操作图片 像素化处理
    // 微博 10块 照片
    // 可视化
    // echarts内部原理就是用这个canvas来实现
    var canvas = document.getElementById('canvas')
    var huabi = canvas.getContext('2d')
    huabi.fillRect(10,10,100,100)
  </script>
</body>
</html>
